tantek.com

If you added a #Mastodon / #ActivityPub follow form to your #IndieWeb site based on Bridgy Fed (e.g. using code/instructions I previously posted¹), you need to update it to add another invisible input element for the "protocol", e.g.:

<input name="protocol" type="hidden" value="web" />

Otherwise people trying to use your form to follow you may see an error from #BridgyFed like:
> Bad Request
> Missing required parameter protocol

Here is the complete example that I posted previously with the new invisible input:

<form method="post" action="https://fed.brid.gy/remote-follow">
 <label for="follow-address">🐘 Follow
  <kbd>@tantek.com@tantek.com</kbd>:<br />
  enter your @-@ fediverse address:</label>
 <input id="follow-address" name="address" type="text" required="required"
        placeholder="@you@instance.social" title="Type your @-@ address" value="" />
 <input name="domain" type="hidden" value="tantek.com" />
 <input name="protocol" type="hidden" value="web" />
 <button type="submit">Follow</button>
</form>

I also updated that previous post with the new input in case people find that instead.


This is day 42 of #100DaysOfIndieWeb. #100Days

← Day 41: https://tantek.com/2023/139/t1/wikipedia-supports-indieweb-rel-me
→ Day 43: https://tantek.com/2023/171/t1/anniversaries-microformats-posse


¹ https://tantek.com/2023/020/t2/bridgy-fed-follow-form

on (ttk.me t5RH1) using BBEdit